Skip to content

feat: open a child thread on another computer from its tab, read through the link - #1049

Merged
badcuban merged 1 commit into
mainfrom
fix/linked-child-read
Nov 23, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/linked-child-read

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

A child thread started on a linked computer that this app isn't connected to showed a greyed-out tab in the family row and a dead sidebar row. The app had no thread to open, so the user couldn't read the child's final turn from that machine, while the other computer's app could.

The parent's computer now reads the child from the child's computer over the existing link. It uses a new links.readThread RPC (capability linkedThreadRead) backed by peer.thread.read. It reads only for a parent that holds the child, and the child's computer only serves threads its link started. The app shows the child read-only at /linked/$computerId/$linkedThreadId:

  • the asks and answers, with Show all for clipped messages
  • refreshes while the child works; a failed refresh keeps the last page on screen
  • a notice where the message box would be, with Connect
  • switches to the real thread once the app connects to that computer

The family tab, the live and Wrapped sidebar rows, the parent's "Started N threads" line and the child's reply author all open it. An open child keeps its tab and sidebar row, even in a folded group. A removed link, an older parent computer, and a start with no thread yet stay unclickable. One-message reads refuse an older computer's page answer, using the guard shared with thread_read.

Docs: docs/design/child-threads.md (new section), fleet.md, and the in-app guide topic.

Tests: a new server test, family tab logic cases, and a browser test that clicks the remote tab and reads the transcript. Full web, server and contracts unit suites pass, and the touched browser suites pass (203 tests). Astra reviewed the diff. All 7 findings were confirmed and fixed.

…ugh the link

A child a thread started on a linked computer that this app isn't
connected to had a greyed-out family tab and sidebar row: the app had no
thread to open. The parent's computer now reads it from the child's
computer over the link (`links.readThread`, capability `linkedThreadRead`,
backed by `peer.thread.read`), and the app shows it read-only at
/linked/$computerId/$linkedThreadId: the asks and answers, with Show all
for clipped messages, refreshed while it works, swapping to the real
thread once the app connects there.

The family tab, live and Wrapped sidebar rows, the parent's "Started N
threads" line and the child's reply author all open it. An open child
keeps its tab and sidebar row. A removed link, an older parent computer,
or a start with no thread yet stay unclickable.
@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 23, 2026 2:32pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 1a084ba Nov 23, 2026
23 checks passed
@badcuban
badcuban deleted the fix/linked-child-read branch November 23, 2026 14:44

This branch was previously deployed

1 inactive deployment
Preview — 70bbac25 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant